package day04;
import java.util.Scanner;
public class CommandBySwitch {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        System.out.println("跑3圈了吗");
        int count=scan.nextInt();
        while (count<3){
            System.out.println("跑一圈");
            count++;
        }
        System.out.println("跑完了");




        /*
        if(command==1){
            System.out.println("存款业务");
        }else if(command==2){
            System.out.println("取款业务");
        }else if(command==3){
            System.out.println("转账业务");
        }else if(command==4){
            System.out.println("退出成功");
        }else{
            System.out.println("输入错误");
        }

         */





        /*
        switch (command){
            case 1:
                System.out.println("存款业务");
                break;
            case 2:
                System.out.println("取款业务");
                break;
            case 3:
                System.out.println("转账业务");
                break;
            case 4:
                System.out.println("退出成功");
                break;
            default:
                System.out.println("输入错误");

        }

         */
    }
}
